AEDeleteItem
AEDeleteItem
Delete a descriptor record from a descriptor list to be deleted
long index ; position of record in the list
The parameter theAEDescList is the descriptor list containing the descriptor
record to be deleted.
The index parameter is the position of the descriptor record to delete (for example, 2 specifies the second item).
Result codes
noErr (0) No error
errAEDescNotFound (-1701) Descriptor record was not found
errAENotAEDesc (-1704) Not a valid descriptor record
errAEBadListItem (-1705) Operation involving a list item failed